Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that every command has setFlags and hasWrapper functions #3105

Merged
merged 2 commits into from
Apr 20, 2017

Conversation

voxsim
Copy link
Contributor

@voxsim voxsim commented Apr 11, 2017

Summary
This pull request is a simplified version of #2810 and maybe for some ways better because it prefers composition over inheritance and it is less invasive right now.
There are two commits that ensure that we always have setFlags and hasWrapper functions.
This is the first step to move some responsabilities from the index towards the command classes.

Test plan
For what I see every command is covered, but let me know if I have to cover something.

@voxsim
Copy link
Contributor Author

voxsim commented Apr 14, 2017

Mmh many commands are not covered by tests and maybe I forget some functions; I will open other pull requests to raise the coverage.

@arcanis arcanis merged commit cb453f5 into yarnpkg:master Apr 20, 2017
@arcanis
Copy link
Member

arcanis commented Apr 20, 2017

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants